export default {
  state: {
    login: false,
    token: ''
  },
  mutations: {
    'user/login'(state){
      state.login = true
    },
    'user/logout'(state){
      state.login = false
    },
    'user/token'(state, token){
      state.token = token.psd
    }
  }
}
